
 
<div class="inset-shadow border-bottom page-1-row-2">           
  <div class="pro_tab-content">
    <div class="container_12">
      <div class="pro_wrapper">
        
        <div class="grid_12">
          <h1>Учителя</h1> 
          
          {if $editLink != ''}
            <a href="{$editLink}">Редактировать</a>
          {/if}
        </div>
        
           {if $action == 'Basic'}  
             {foreach from=$teachers item=teacher}
             <div class="grid_6">
                <div class="pro_wrapper pro_pad_port">
                
                  {if $teacher.photo[0]} 
                    <a href="../Image/teacher/{$teacher.photo[0]}" data-gal="prettyPhoto[gallery3]" class="pro_image_style3 pro_image_with_capt lightbox-image">
                  
                    <img src="../Image/teacher/{$teacher.photo[0]}" alt="" style="width:450px;height:300px;"></a>
                  {/if} 
                  <p>{$teacher.surname} {$teacher.name} {$teacher.second_name}</p>
                  <p>{$teacher.small_info}</p>
                  <a href="{$teacher.link}" class="pro_btn">Полностью</a>
                                    
                  <input type="hidden" name="teachers_id" value="{$teacher.teachers_id}" /> 
                  
                   {*}    {$teacher.info}     {$teacher.extra_info}     {$teacher.email}     {$teacher.phone}        {/*}
                  
                </div> 
             </div>   
             {foreachelse}   
                  нет ни одного учителя
             {/foreach} 
          {elseif $action == 'GeneralInfo'}                
          {/if}
   
         
          
      </div>
    </div>
  </div>     
</div>











<!--div style="lifebox">



    

    
    {if $action == 'Basic'} 
        
     
       {foreach from=$teachers item=teacher}
       <div class="teacher-item">
          <table class="teacher-item">
            <tbody>
            <tr><td>
              <input type="hidden" name="teachers_id" value="{$teacher.teachers_id}" />
              {$teacher.surname} {$teacher.name} {$teacher.second_name}
            </td></tr>
            
            
           
              {if $teacher.photo[0]} 
                
              <tr><td>
              <div class="title-img">
                 <img src="../Image/teacher/{$teacher.photo[0]}" />
              </div>   
               </td></tr>  
              
              {/if}
            </td></tr>  
            <tr><td class="text basic">
              {$teacher.small_info}
             </td></tr>  
            
             <tr><td class="text ">
            {$teacher.info} </td></tr>
            
            <tr><td class="text small">
            {$teacher.extra_info} </td></tr>
            
            <tr><td class="text contacts">
            
              {$teacher.email}
              
              {$teacher.phone}
             </td></tr>
            
            </tbody>
          </table>
       </div>   
       {foreachelse}   
            нет ни одного учителя
       {/foreach}
      
       
    {elseif $action == 'GeneralInfo'}
          
    {/if}
    
   

</div-->